package com.joysuch.wwyt.core.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class BaseCreditCardRecordBean implements Serializable {

    @ApiModelProperty("主键id")
    private Long id;

    @ApiModelProperty("卡号")
    private String cardCode;

    @ApiModelProperty("门禁通道")
    private String guardChannel;

    @ApiModelProperty("刷卡时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date slotCardTime;

    @ApiModelProperty("进出标记")
    private String inOutTag;

    @ApiModelProperty("刷卡成功")
    private String creditCardTag;

    @ApiModelProperty("人员类型:数据字典id")
    private Long userTypeId;

    @ApiModelProperty("人员类型名称")
    private String userTypeName;

    @ApiModelProperty("所属公司/承揽商")
    private String companyName;

    @ApiModelProperty("职号/证件号码")
    private String idNumber;

    @ApiModelProperty("姓名")
    private String userName;

    @ApiModelProperty("备注说明")
    private String remark;

    @ApiModelProperty("0卡口,1车辆")
    private String typeFlagName;
}
